package com.project.internship.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.project.internship.entity.Audit;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2020-04-20
 */
public interface AuditService extends IService<Audit> {

    Integer addDeclare(Audit audit);

    IPage<Audit> getDeclare(Page<Audit> page, String keyword);

    IPage<Audit> getAudit(Page<Audit> page, Integer status, String keyword);

    Integer setAuditSuccess(Audit audit);

    Integer setAuditFail(Audit audit);
}
